SetChildNodesEvent

data class SetChildNodesEvent(parentId: NodeId, nodes: List<Node>) : Event

Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.

Constructors

SetChildNodesEvent
Link copied to clipboard
fun SetChildNodesEvent(parentId: NodeId, nodes: List<Node>)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

nodes
Link copied to clipboard
val nodes: List<Node>
Child nodes array.
parentId
Link copied to clipboard
val parentId: NodeId
Parent node id to populate with children.

Sources

jvm source
Link copied to clipboard